<script setup lang='ts'>
import { ref } from 'vue';

const person = ref({
    name: "张三",
    age: 20
})
</script>

<template>
    <div>
        <h1>简单版本的作用域插槽</h1>
        <slot name="row" :p="person"></slot>
    </div>
</template>

<style scoped></style>